package hu.dobrosi.dinkycam.gwt.client;

public class StaticUtil {
	public static String VERSION_MIDLET;
	public static String MIDLETUPDATE_URL;
	public static final String WEBAPP_HOST = "www.dinkycam.com";
	public static final String DINKYCAM_SERVLET = "DinkycamServlet";

	public static final String A_USER = "user";
	public static final String A_DEVICE = "device";
	public static final String TEMP_DIR = "/home/andris/tmp/webcam/";

	public static final String P_FILENAME = "filename";
	public static final String P_POS = "pos";
	public static final String P_COMMAND = "command";
	public static final String P_COMMAND_GETFILE = "getfile";
	public static final String P_COMMAND_GETFILENAMEBYPOS = "getfilenamebypos";
	public static final String P_COMMAND_GETPOSLIST = "getposlist";
	public static final String P_COMMAND_SAVEINFO = "saveinfo";
	public static final String P_COMMAND_SNAPSHOT = "snapshot";
	public static final String P_COMMAND_LOGIN = "login";
	public static final String P_COMMAND_LOGOUT = "logout";
	public static final String P_COMMAND_WARNING = "warning";
	public static final String P_ISMOVING = "isMoving";
	public static final String P_CLIENT_VERSION = "cv";
	public static final String P_NETWORK_SIGNAL = "ns";
	public static final String P_BATTERY_LEVEL = "bl";
	public static final String P_LIMIT_TIME = "limitTime";
	public static final String P_OPEN_ID = "openId";
	public static final String A_LASTINFO = "lastinfo";
	public static final String P_LAT = "lat";
	public static final String P_LON = "lon";
	public static final String P_ALT = "alt";
	public static final String P_TIME = "time";
	public static final String P_VELOCITY = "v";
	public static final String P_HASPOSITION = "hasposition";
	public static final String P_HASFILE = "hasfile";

	public static final String P_EMAIL = "userId";
	public static final String P_PASSWORD = "password";
	public static final String P_EXCEPTION = "exc";

	public static final String TEST_EMAIL = "test@dinkycam.com";
	public static final String TEST_PASSWORD = "test123";

	public static final String CONNSTR_TEST = "btspp://001DD9E5DD4C:1;master=false";
	public static final String CONNSTR_GPS_PRE = "btspp://";
	public static final String CONNSTR_GPS_POST = ":1;authenticate=false;encrypt=false;master=false";

	public static final int HTTP_ERRORCODE_NOTAUTHENTICATED = 505;
	public static final int HTTP_ERRORCODE_NEWVERSIONREQ = 450;

}
